package com.chaopei.day38.service.impl;

import com.chaopei.day38.mapper.UserMapper;
import com.chaopei.day38.service.UserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author yws
 * @Date 2022/4/22 14:37
 */
@Service
public class UserServiceImpl implements UserService {
    @Resource
    UserMapper userMapper;
    @Override
    public boolean login(String username, String password) {
        userMapper.selectUser(username,password);
        return false;
    }
}
